import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);
const store = new Vuex.Store({
    state: {
       isLogin:false
    },
    getters: {
        getLogin: state => {
            return state.isLogin
        },
    },
	mutations:{
		"SET_ISLOGIN":(state,isLogin) =>{
			state.isLogin = isLogin
		}
	}
})

export default store